package com.jk.util.permission;

/**
 * 权限验证工具类
 * Created by yanghuan on 2015/8/4.
 */
public class AuthorizationUtil {

    public static Boolean hasPower(int key, String comPermissionIndexList) {
        if("0".equals(comPermissionIndexList.substring(key-1,key))){
            return false;
        }
        return true;
    }
}